package com.huike.mapper;

import com.huike.pojo.Charge;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ChargeMapper {
    List<Charge> getCharges(String chargeName);
    Integer updateIsDel(@Param("id") Integer id,@Param("date") Date date);
    Charge getChargeById(Integer id);
    Integer updateCharge(Charge charge);
    List<Charge> getChargeNoDel();
}